home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q102 / 3 / 59.TXT < prev    next >
Text File  |  1993-09-28  |  5KB  |  117 lines

  1. DOCUMENT:Q102359  27-SEP-1993  [W_NT]
  2. TITLE   :Replacing Corrupted System Files in Windows NT
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. WARNING: Using Registry Editor incorrectly can cause
  16.      serious, system-wide problems that may require you to
  17.      reinstall Windows NT to correct them. Microsoft cannot
  18.      guarantee that any problems resulting from the use of
  19.      Registry Editor can be solved. Use this tool at your own
  20.      risk.
  21.  
  22. To enable a Windows NT machine with a corrupt .DLL file to complete the
  23. logon process successfully, you must replace the .DLL with a new,
  24. renamed version of the file:
  25.  
  26. 1. From a Windows NT machine that has an uncorrupted version of the
  27.    .DLL file you want to replace, connect to the machine with the
  28.    corrupt .DLL file as Administrator.
  29.  
  30. 2. From the remote machine, place a new, uncorrupted copy the of the
  31.    file in the SYSTEM32 directory on the machine with the damaged
  32.    file (use a different filename for the copy of the file).
  33.  
  34. 3. From the remote machine, run REGEDT32.EXE, to edit the registry on
  35.    the affected machine.
  36.  
  37. 4. Locate the following section:
  38.  
  39.    HKEY_LOCAL_MACHINE on (Remote Machine Name)
  40.       SYSTEM\CurrentControlSet\Control\SessionManager\KnownDLLS.
  41.  
  42. 5. In this section, change the name of the file pointed to by the key
  43.    to the new, renamed version of the file that was copied to the
  44.    SYSTEM32 directory. Close REGEDT32 and restart the machine with the
  45.    previously corrupted file.
  46.  
  47. The machine should start up and complete the logon process.
  48.  
  49. MORE INFORMATION
  50. ================
  51.  
  52. For example, if the SHELL32.DLL file is corrupt, the following error
  53. message is displayed after you enter your password and attempt to
  54. complete the logon process:
  55.  
  56.    The application failed to initialize properly (0xc0000139).
  57.    Click OK to terminate the application.
  58.  
  59. The application that has failed to start is Program Manager. At this
  60. point, Windows NT is nonfunctional. Attempting to copy SHELL32.DLL
  61. from a remote machine will not be effective since the file is marked
  62. as in use by Windows NT. To replace the corrupt SHELL32.DLL do the
  63. following:
  64.  
  65. 1. Connect to the affected machine's root with a functioning Windows NT
  66.    machine as Administrator.
  67.  
  68. 2. Copy a new SHELL32.DLL from the functioning machine to the affected
  69.    machine's <SYSTEMROOT>\WINNT\SYSTEM32 using the filename
  70.    SHELLALT.DLL.
  71.  
  72. 3. Edit the affected machine's registry by running REGEDT32.EXE and
  73.    scrolling to the following section:
  74.  
  75.       HKEY_LOCAL_MACHINE on (Remote Machine Name)
  76.          SYSTEM\CurrentControlSet\Control\SessionManager\KnownDLLS.
  77.  
  78.    The SHELL32.DLL key will point to the file SHELL32.DLL. Change
  79.    that key so that it points to the new file SHELLALT.DLL.
  80.  
  81.    Before Registry Edit:
  82.  
  83.    Existing Value Names       Data Type   String
  84.    --------------------------------------------------------------------
  85.    SHELL32.DLL                REG_SZ      SHELL32.DLL
  86.  
  87.  
  88.    After Registry Edit:
  89.  
  90.    Existing Value Names       Data Type   String
  91.    --------------------------------------------------------------------
  92.    SHELL32.DLL                REG_SZ      SHELLALT.DLL
  93.  
  94.  
  95. 4. Close REGEDT32 on the remote machine and restart the affected
  96.    machine. The machine should start and complete the logon process
  97.    with the new SHELLALT.DLL.
  98.  
  99. Additional reference words: 3.10 tshoot
  100. KBCategory:
  101. KBSubcategory: winnt howto
  102.  
  103. =============================================================================
  104.  
  105. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  106. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  107. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  108. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  109. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  110. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  111. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  112. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  113. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  114. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  115. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  116.  
  117. Copyright Microsoft Corporation 1993.